<%@ page language="java" pageEncoding="UTF-8" %>
<%@ include file="/common/taglibs.jsp"%>

<%@ include file="/common/exterior/head.jsp"%>

<script type="text/javascript">
  
	$(document).ready(function() {
		$("#loginForm").validate();
	});
  
</script>

<%@ page import="org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter" %>
<%@ page import="org.springframework.security.web.authentication.UsernamePasswordAuthenticationFilter" %>
<%@ page import="org.springframework.security.core.AuthenticationException" %>

<td>
<div class="center">
       <table width="100%" border="0" cellspacing="0" cellpadding="0">
         <tr>
           <td class="rCenter" style="width:80%;">
             <div class="content"> <!-- InstanceBeginEditable name="content" -->
               <div class="pageTitle" ><s:property value="%{getText('COMMON_WELCOME_TO_FINDPEOPLE')}"/></div>
               <div class="pageTitleLine"></div>
					<p class="pageTitle1">寻人</p>
					
					<p>我一直在寻找着<br>
					那个身着绿色连衣裙的小姑娘<br>
					她的眼睛如星眸般闪亮<br>
					她的笑声如银铃般悦耳
					她的世界如沉睡了千年的雪浪<br>
					她的影子游荡在岁月里<br>
					在一片光阴流转的海面上浮萍<br></p>
				
					<p>她总是默默的站在我的身后<br>
					熟悉的气息环绕着冰冷的空间<br>
					她有时会躲在喧嚣中窥视<br>
					却又会在我闭目沉思沉思的时候<br>
					亦会悄然来到我的枕边<br>
					偷偷的将一卷泛黄的胶片<br>
					放进我沉睡的心房<br></p>
				
					<p>夜里，她的轮廓慢慢清晰<br>
					与我深深埋着的灵魂在梦中<br>
					一遍又一遍的轻声呜咽着<br>
					醒后，我却再也听不到她的声音<br>
					只留下一声轻轻的叹息<br>
					流年似水，她已幻化成了一丝残念<br>
					如一缕微风，悄然隐没在岁月的尘埃里<br></p>
				
					<p>在百转千回的昼夜，我不断的寻找着
					那个曾经身着绿色连衣裙的小姑娘<br></p>    
					         
              </div>
           </td>
           <td class="rRight"><!-- InstanceBeginEditable name="rRight" --> <br/>
          
			<%if (session.getAttribute(AbstractAuthenticationProcessingFilter.SPRING_SECURITY_LAST_EXCEPTION_KEY) != null) {%> 
				<div class="error"> 登录失败，请重试.</div> 
			<%}%>
			
		    <div class="box" style="width:400px" >
		      <div class="top">
		        <div class="left">
		          <div class="right">
		            <div class="center"></div>
		          </div>
		        </div>
		      </div>
		      <div class="middle">
		        <div class="left">
		          <div class="right">
		            <div class="center">
		              <div class="title" > Login </div>
		              <div class="content">
		              <form id="loginForm" name="loginForm" action="${ctx}/j_spring_security_check" method="post" AUTOCOMPLETE = "off">
		              
						<%if (session.getAttribute(AbstractAuthenticationProcessingFilter.SPRING_SECURITY_LAST_EXCEPTION_KEY) != null) {%> 
							<div class="error"> Login failed, please try again.</div> 
						<%}%>
					              
		                <div class="form" align="center" style="padding:15px;">
		                  <table border="0" cellspacing="3" cellpadding="0" >
		                    <tr>
		                      <td class="fLabel" ><s:text name="common.loginId"/>:</td>
		                      <td class="fField"><input type='text' size="12" maxlength="60" id='j_username' name='j_username' class="required" value="" style="width:150px"/></td>
		                    </tr>
		                    <tr>
		                      <td class="fLabel" ><s:text name="common.password"/>:</td>
		                      <td class="fField"><input type='password' size="12" id='j_password' name='j_password' value="" class="required" style="width:150px"/></td>
		                    </tr>
		                 
		                    <tr>
		                      <td class="fLabel" ></td>
		                      <td class="fField" style="text-align:left" ><a href="${ctx}/account/forgot-password.action">忘记密码?</a></td>
		                    </tr>
		                    
		                    <tr>
		                      <td class="fLabel" ></td>
		                      <td class="fField" style="padding:10px 10px; text-align:left" >
		                      	<div class="button" >
		                          <div class="left" >
		                            <div class="right" >
		                              <input class="inputButton"  id="enterSubmit" value="<s:property value="%{getText('COMMON_LOGIN')}"/>"  type="submit"/>
		                            </div>
		                          </div>
		                        </div>
		                      </td>
		                    </tr>
		                  </table>
		                </div>
		                
		                </form>
		                
		                <br/>
		              </div>
		            </div>
		          </div>
		        </div>
		      </div>
		      <div class="bottom">
		        <div class="left">
		          <div class="right">
		            <div class="center"></div>
		          </div>
		        </div>
		      </div>
		    </div>
             
            </td>
          </tr>
        </table>
</div>
          
<%@ include file="/common/foot.jsp"%>